package com.battle.service.repository.in;

import com.battle.pojo.entity.TrainingPersonSetting;
import com.battle.pojo.vo.trainingPersonSetting.GetTrainingPersonSettingListVo;
import nirvana.core.repository.IRepository;
import java.util.Map;
import java.util.List;

    import com.battle.pojo.dto.trainingPersonSetting.SelectTrainingPersonSettingDto;
    import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
/**
* 【描 述】：
* 【环 境】：J2SE
* 【详 细】：
*
*/
public interface TrainingPersonSettingRepository extends IRepository< TrainingPersonSetting > {


    /**
    * 搜索训练人员设置
    * @param dto
    * @return
    */
    Page<GetTrainingPersonSettingListVo> selectTrainingPersonSetting(SelectTrainingPersonSettingDto dto);

    /**
    * 获取Map
    * @param ids
    * @return
    */
    Map<Long, TrainingPersonSetting> getMap(List<Long> ids);

    /**
     * 根据部门id获取人员设置
     * @param departmentId
     * @return
     */
    List<TrainingPersonSetting> getPersonSettingByDepartmentId(Long departmentId);
}